[INFO] fetching crate sqlite-jsonschema 0.2.3...
[INFO] fixing sqlite-jsonschema-0.2.3 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate sqlite-jsonschema 0.2.3 into /workspace/builds/worker-4-tc2/source
[INFO] started tweaking crates.io crate sqlite-jsonschema 0.2.3
[INFO] finished tweaking crates.io crate sqlite-jsonschema 0.2.3
[INFO] tweaked toml for crates.io crate sqlite-jsonschema 0.2.3 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate sqlite-jsonschema 0.2.3 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 152 packages to latest compatible versions
[INFO] [stderr]       Adding jsonschema v0.16.1 (available: v0.46.5)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 3bf90e7455b7d875a164cf7e25b03aa9bc9e96899cf97df8d66afd11712853ff
[INFO] running `Command { std: "docker" "start" "3bf90e7455b7d875a164cf7e25b03aa9bc9e96899cf97df8d66afd11712853ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3bf90e7455b7d875a164cf7e25b03aa9bc9e96899cf97df8d66afd11712853ff" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3bf90e7455b7d875a164cf7e25b03aa9bc9e96899cf97df8d66afd11712853ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3bf90e7455b7d875a164cf7e25b03aa9bc9e96899cf97df8d66afd11712853ff" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling glob v0.3.3
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling regex-syntax v0.8.11
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling os_str_bytes v6.6.1
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling bitflags v2.13.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling libloading v0.8.9
[INFO] [stderr]    Compiling home v0.5.12
[INFO] [stderr]    Compiling textwrap v0.16.2
[INFO] [stderr]    Compiling either v1.16.0
[INFO] [stderr]    Compiling humantime v2.3.0
[INFO] [stderr]    Compiling bindgen v0.60.1
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling clap_lex v0.2.4
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]     Checking aho-corasick v1.1.4
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking num-iter v0.1.45
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]     Checking bit-vec v0.6.3
[INFO] [stderr]    Compiling time-macros v0.2.30
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking bit-set v0.5.3
[INFO] [stderr]     Checking num-cmp v0.1.0
[INFO] [stderr]    Compiling sqlite-jsonschema v0.2.3 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating build.rs from 2021 edition to 2024
[INFO] [stderr]     Checking uuid v1.23.3
[INFO] [stderr]    Compiling clang-sys v1.8.1
[INFO] [stderr]     Checking bytecount v0.6.9
[INFO] [stderr]    Compiling clap v3.2.25
[INFO] [stderr]     Checking time v0.3.51
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]     Checking num v0.4.3
[INFO] [stderr]     Checking fraction v0.12.2
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]     Checking iso8601 v0.5.1
[INFO] [stderr]     Checking ahash v0.8.12
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]     Checking regex v1.12.4
[INFO] [stderr]     Checking fancy-regex v0.10.0
[INFO] [stderr]     Checking jsonschema v0.16.1
[INFO] [stderr]    Compiling sqlite-loadable-macros v0.0.2
[INFO] [stderr]    Compiling env_logger v0.9.3
[INFO] [stderr]    Compiling sqlite3ext-sys v0.0.1
[INFO] [stderr]     Checking sqlite-loadable v0.0.5
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr] error: errors present after applying fixes to crate `sqlite_jsonschema`
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:34:1
[INFO] [stdout]    |
[INFO] [stdout] 34 | / pub fn sqlite3_jsonschema_init(db: *mut sqlite3) -> Result<()> {
[INFO] [stdout] 35 | |     define_scalar_function(
[INFO] [stdout] 36 | |         db,
[INFO] [stdout] 37 | |         "jsonschema_version",
[INFO] [stdout] ...  |
[INFO] [stdout] 57 | |     Ok(())
[INFO] [stdout] 58 | | }
[INFO] [stdout]    | |_^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout]    = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 34 ~ unsafe(pub fn sqlite3_jsonschema_init(db: *mut sqlite3) -> Result<()> {
[INFO] [stdout] 35 |     define_scalar_function(
[INFO] [stdout] ...
[INFO] [stdout] 57 |     Ok(())
[INFO] [stdout] 58 ~ })
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]  --> src/lib.rs
[INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::<T>::from_raw` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/jsonschema.rs:58:10
[INFO] [stdout]    |
[INFO] [stdout] 58 |     drop(Box::from_raw(p.cast::<*mut JSONSchema>()))
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/jsonschema.rs:57:1
[INFO] [stdout]    |
[INFO] [stdout] 57 | unsafe extern "C" fn cleanup(p: *mut c_void) {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]   = cause: error: expected item after attributes
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr]              --> src/lib.rs:33:1
[INFO] [stderr]               |
[INFO] [stderr]            33 | #[sqlite_entrypoint]
[INFO] [stderr]               | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: aborting due to 1 previous error
[INFO] [stderr] help: to report this as a bug, open an issue at https://github.com/rust-lang/rust/issues, quoting the full output of this command
[INFO] [stderr] help: to possibly apply more fixes, pass in the `--broken-code` flag
[INFO] [stderr] note: original diagnostics will follow:
[INFO] [stderr] error: errors present after applying fixes to crate `sqlite_jsonschema`
[INFO] [stderr]  --> src/lib.rs
[INFO] [stderr]   = cause: error: expected item after attributes
[INFO] [stderr]              --> src/lib.rs:33:1
[INFO] [stderr]               |
[INFO] [stderr]            33 | #[sqlite_entrypoint]
[INFO] [stderr]               | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: aborting due to 1 previous error
[INFO] [stderr] help: to report this as a bug, open an issue at https://github.com/rust-lang/rust/issues, quoting the full output of this command
[INFO] [stderr] help: to possibly apply more fixes, pass in the `--broken-code` flag
[INFO] [stderr] note: original diagnostics will follow:
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:34:1
[INFO] [stdout]    |
[INFO] [stdout] 34 | / pub fn sqlite3_jsonschema_init(db: *mut sqlite3) -> Result<()> {
[INFO] [stdout] 35 | |     define_scalar_function(
[INFO] [stdout] 36 | |         db,
[INFO] [stdout] 37 | |         "jsonschema_version",
[INFO] [stdout] ...  |
[INFO] [stdout] 57 | |     Ok(())
[INFO] [stdout] 58 | | }
[INFO] [stdout]    | |_^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout]    = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 34 ~ unsafe(pub fn sqlite3_jsonschema_init(db: *mut sqlite3) -> Result<()> {
[INFO] [stdout] 35 |     define_scalar_function(
[INFO] [stdout] ...
[INFO] [stdout] 57 |     Ok(())
[INFO] [stdout] 58 ~ })
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::<T>::from_raw` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/jsonschema.rs:58:10
[INFO] [stdout]    |
[INFO] [stdout] 58 |     drop(Box::from_raw(p.cast::<*mut JSONSchema>()))
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/jsonschema.rs:57:1
[INFO] [stdout]    |
[INFO] [stdout] 57 | unsafe extern "C" fn cleanup(p: *mut c_void) {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 10s
[INFO] [stderr] crater-edition-check: sqlite-jsonschema v0.2.3 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]    Compiling sqlite-jsonschema v0.2.3 (/opt/rustwide/workdir)
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:34:1
[INFO] [stdout]    |
[INFO] [stdout] 34 | / pub fn sqlite3_jsonschema_init(db: *mut sqlite3) -> Result<()> {
[INFO] [stdout] 35 | |     define_scalar_function(
[INFO] [stdout] 36 | |         db,
[INFO] [stdout] 37 | |         "jsonschema_version",
[INFO] [stdout] ...  |
[INFO] [stdout] 57 | |     Ok(())
[INFO] [stdout] 58 | | }
[INFO] [stdout]    | |_^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 34 ~ unsafe(pub fn sqlite3_jsonschema_init(db: *mut sqlite3) -> Result<()> {
[INFO] [stdout] 35 |     define_scalar_function(
[INFO] [stdout] ...
[INFO] [stdout] 57 |     Ok(())
[INFO] [stdout] 58 ~ })
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::<T>::from_raw` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/jsonschema.rs:58:10
[INFO] [stdout]    |
[INFO] [stdout] 58 |     drop(Box::from_raw(p.cast::<*mut JSONSchema>()))
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/jsonschema.rs:57:1
[INFO] [stdout]    |
[INFO] [stdout] 57 | unsafe extern "C" fn cleanup(p: *mut c_void) {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:34:1
[INFO] [stdout]    |
[INFO] [stdout] 34 | / pub fn sqlite3_jsonschema_init(db: *mut sqlite3) -> Result<()> {
[INFO] [stdout] 35 | |     define_scalar_function(
[INFO] [stdout] 36 | |         db,
[INFO] [stdout] 37 | |         "jsonschema_version",
[INFO] [stdout] ...  |
[INFO] [stdout] 57 | |     Ok(())
[INFO] [stdout] 58 | | }
[INFO] [stdout]    | |_^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 34 ~ unsafe(pub fn sqlite3_jsonschema_init(db: *mut sqlite3) -> Result<()> {
[INFO] [stdout] 35 |     define_scalar_function(
[INFO] [stdout] ...
[INFO] [stdout] 57 |     Ok(())
[INFO] [stdout] 58 ~ })
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sqlite-jsonschema` (lib) due to 1 previous error; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::<T>::from_raw` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/jsonschema.rs:58:10
[INFO] [stdout]    |
[INFO] [stdout] 58 |     drop(Box::from_raw(p.cast::<*mut JSONSchema>()))
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/jsonschema.rs:57:1
[INFO] [stdout]    |
[INFO] [stdout] 57 | unsafe extern "C" fn cleanup(p: *mut c_void) {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sqlite-jsonschema` (lib test) due to 1 previous error; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "3bf90e7455b7d875a164cf7e25b03aa9bc9e96899cf97df8d66afd11712853ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3bf90e7455b7d875a164cf7e25b03aa9bc9e96899cf97df8d66afd11712853ff", kill_on_drop: false }`
[INFO] [stdout] 3bf90e7455b7d875a164cf7e25b03aa9bc9e96899cf97df8d66afd11712853ff
